-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(platform): re-attempt platform automerge on github and gitlab #26567
feat(platform): re-attempt platform automerge on github and gitlab #26567
Conversation
The new behavior should be explained in Renovate's
But your PR makes it so that Renovate enables the platform native automerge (GitHub Merge queue in this case) again after a merge conflict, I think. So that should be explained. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that the refreshPr for bitbucket is such a different use - and called at different times where re-enabling automerge is not relevant - that it's probably not a good idea to combine it
I've refactored this implementation to avoid using/changing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs more work after applying the suggestion.
Co-authored-by: Michael Kriese <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but needs tests passing
Tests are now passing! Please let me know if this needs anything else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there still any concern about feature parity with gitlab? I recall a comment being added her earlier about it
I was looking for some direction on that in relation to the docs:
It's not strictly a part of this change, but I'd be happy to cover it while I'm in here |
🎉 This PR is included in version 37.255.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Changes
This change will cause Renovate to re-enable GitHub's automerge / Merge Queue feature after rebasing the PR, to more seamlessly recover when PRs encounter merge conflicts in the queue and are removed by
github-merge-queue[bot]
.This is a naive first pass at the feature, and I'm submitting this PR as a work-in-progress to get feedback. I suspect, among other potential feedback, that my testing needs to be improved and that it's possible the new feature should be opt-in via a new config flag (not yet added).
Thanks for your time!
Context
#26523
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: